package com.wanglemei.mail.service;

import com.wanglemei.mail.util.EmailAuthenticator;
import com.wanglemei.mail.util.EmailServer;

public interface ISendMailService 
{         
	      /**
	       * 单个邮件发送
	       * @param to                  邮件接受人地址
	       * @param mailSubject  邮件标题
	       * @param mailContent 邮件内容
	       * @param emailServer  相应host,port
	       * @param mailauth       邮件发送人地址，密码
	       */
          public boolean  sendMail(String to, String mailSubject, String mailContent, EmailServer emailServer, EmailAuthenticator mailauth)throws Exception;
}
